home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / os2 / imarc101.zip / IMAGEARC.HLP (.txt) < prev    next >
OS/2 Help File  |  1993-04-15  |  22KB  |  547 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.                               Image Archiver v1.01
  5.  
  6. Image Archiver has been designed to facilitate the process of archiving JPEG 
  7. images. The current release has been built upon the Indepent JPEG Group's 
  8. version 4a JPEG compression/decompression software. This software currently 
  9. supports the following image formats: 
  10.  
  11. o GIF 
  12. o PPM/PGM 
  13. o Targa 
  14.  
  15. Files to be compressed must be of one of the above types. Decompression of JPEG 
  16. files can output to any of the above types also. 
  17.  
  18. The only JPEG file format currently supported is the JFIF format. Support for 
  19. the TIFF 6.0 format will probably be added at some future date. 
  20.  
  21.  
  22. ΓòÉΓòÉΓòÉ 2. Main Dialog ΓòÉΓòÉΓòÉ
  23.  
  24. The Main Dialog presents top level information and functionality allowing 
  25. images to be compressed, decompressed, deleted and viewed. Select one of the 
  26. following sections for more information about a specific aspect of this dialog 
  27. box. 
  28.  
  29. o JPEG Directory 
  30. o Change Dir... 
  31. o Deselect 
  32. o Delete 
  33. o JPEG File List 
  34. o Decompress 
  35. o Decompress Options... 
  36. o View 
  37. o View Options... 
  38. o Other Directory 
  39. o Other File List 
  40. o Compress 
  41. o Compress Options... 
  42.  
  43.  
  44. ΓòÉΓòÉΓòÉ 2.1. JPEG Directory ΓòÉΓòÉΓòÉ
  45.  
  46. This Entry Field shows the current drive and directory where JPEG files are 
  47. found. 
  48.  
  49.  This field is Read Only. 
  50.  
  51.  
  52. ΓòÉΓòÉΓòÉ 2.2. Change Dir... ΓòÉΓòÉΓòÉ
  53.  
  54. Pressing this button opens up the Change Directory dialog where you select the 
  55. drive and directory to find the files for the file list. 
  56.  
  57.  
  58. ΓòÉΓòÉΓòÉ 2.3. Deselect ΓòÉΓòÉΓòÉ
  59.  
  60. Selecting this menu item will remove all of the selections from the file list. 
  61.  
  62.  
  63. ΓòÉΓòÉΓòÉ 2.4. Delete ΓòÉΓòÉΓòÉ
  64.  
  65. Selecting this menu item will show a message box asking for confirmation to 
  66. delete all of the selected files in the file list. Press OK to continue. Press 
  67. Cancel to abort the operation. 
  68.  
  69.  
  70. ΓòÉΓòÉΓòÉ 2.5. JPEG File List ΓòÉΓòÉΓòÉ
  71.  
  72. This is the pride and joy of Image Archiver. This window presents a list of all 
  73. of the JPEG files that were found in the JPEG Directory. Each entry in the list 
  74. shows the following important information about the file: 
  75.  
  76. o File Name 
  77. o Image Width 
  78. o Image Height 
  79. o File Size 
  80. o Creation Date 
  81. o Creation Time 
  82.  
  83. Multiple files can be selected for decompression or deletion with standard 
  84. selection techniques. 
  85.  
  86. Clicking mouse button 2 will popup the context menu with all of the opitons 
  87. that are available for these files. 
  88.  
  89. Double-Clicking mouse button 1 on one of the files in the list will open that 
  90. file for viewing. This is a much quicker way to view pictures that are in the 
  91. current directory than by pressing the View button and selecting a file. 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 2.6. Decompress ΓòÉΓòÉΓòÉ
  95.  
  96. Selecting this menu item will cause Image Archiver to start decompressing all 
  97. of the selected files in the JPEG file list. A progress monitor is provided to 
  98. keep track of the process. Pressing Cancel will abort the rest of the 
  99. conversion. 
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 2.7. Decompress Options... ΓòÉΓòÉΓòÉ
  103.  
  104. Selecting this menu item will open up the Decompress Options Dialog dialog. 
  105. This dialog does not have to be closed to continue processing. 
  106.  
  107.  
  108. ΓòÉΓòÉΓòÉ 2.8. View ΓòÉΓòÉΓòÉ
  109.  
  110. Selecting this menu item will open up a standard file dialog letting you select 
  111. a JPEG image to view. 
  112.  
  113.  
  114. ΓòÉΓòÉΓòÉ 2.9. View Options... ΓòÉΓòÉΓòÉ
  115.  
  116. Selecting this menu item will open up the View Options Dialog dialog. This 
  117. dialog does not have to be closed to continue processing. 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 2.10. Other Directory ΓòÉΓòÉΓòÉ
  121.  
  122. This Entry Field shows the current drive and directory where Other supported 
  123. files are found. 
  124.  
  125.  This field is Read Only. 
  126.  
  127.  
  128. ΓòÉΓòÉΓòÉ 2.11. Other File List ΓòÉΓòÉΓòÉ
  129.  
  130. This is the pride and joy of Image Archiver. This window presents a list of all 
  131. of the Other files that were found in the Other Directory. Each entry in the 
  132. list shows the following important information about the file: 
  133.  
  134. o File Name 
  135. o Image Width 
  136. o Image Height 
  137. o File Size 
  138. o Creation Date 
  139. o Creation Time 
  140.  
  141. Multiple files can be selected for compression or deletion with standard 
  142. selection techniques. 
  143.  
  144. Clicking mouse button 2 will popup the context menu with all of the opitons 
  145. that are available for these files. 
  146.  
  147.  
  148. ΓòÉΓòÉΓòÉ 2.12. Compress ΓòÉΓòÉΓòÉ
  149.  
  150. Selecting this menu item will cause Image Archiver to start compressing all of 
  151. the selected files in the Other file list. A progress monitor is provided to 
  152. keep track of the process. Pressing Cancel will abort the rest of the 
  153. conversion. 
  154.  
  155.  
  156. ΓòÉΓòÉΓòÉ 2.13. Compress Options... ΓòÉΓòÉΓòÉ
  157.  
  158. Selecting this menu item will open up the Compress Options Dialog dialog. This 
  159. dialog does not have to be closed to continue processing. 
  160.  
  161.  
  162. ΓòÉΓòÉΓòÉ 3. Decompress Options Dialog ΓòÉΓòÉΓòÉ
  163.  
  164. The Decompress Options dialog box presents all of the settings that are related 
  165. to decompressing JPEG files. Select one of the following sections for 
  166. information about a specific setting. 
  167.  
  168. o Output Format 
  169. o Colors 
  170. o Max Memory 
  171. o Quantize 
  172. o Two-Pass Quant 
  173. o Dither 
  174. o Cross-Block Smooth 
  175. o Grayscale 
  176.  
  177.  
  178. ΓòÉΓòÉΓòÉ 3.1. Output Format ΓòÉΓòÉΓòÉ
  179.  
  180. These radio buttons are used to determine the output format of the decompressed 
  181. images. There are three image formats to choose from: 
  182.  
  183. o GIF -- Select GIF output. 
  184. o PPM/PGM -- Select PGM output if Grayscale is selected, PPM otherwise. 
  185. o Targa -- Select Targa output. 
  186.  
  187.  
  188. ΓòÉΓòÉΓòÉ 3.2. Colors ΓòÉΓòÉΓòÉ
  189.  
  190. This entry field specifies the number of colors to quantize the JPEG file to. 
  191. This number is ignored if Quantize 
  192.  
  193. Valid ranges are 2 to 65536. 
  194.  
  195.  
  196. ΓòÉΓòÉΓòÉ 3.3. Max Memory ΓòÉΓòÉΓòÉ
  197.  
  198. This entry field specifies the maximum amount of memory in megabytes to 
  199. allocate. If the amount of memory that needs to be allocated exceeds this 
  200. value, then temporary files will be created for the excess. Generally, this 
  201. value should be kept as high as possible. The process will become slower as the 
  202. temporary files become larger. 
  203.  
  204.  
  205. ΓòÉΓòÉΓòÉ 3.4. Quantize ΓòÉΓòÉΓòÉ
  206.  
  207. Check this option to quantize the image to the number of colors specified by 
  208. the Colors entry field and produce a colormapped output file in the selected 
  209. format. If this option is not checked, then the output image will not be 
  210. colormapped. 
  211.  
  212. Note that the GIF format requires this option to be checked and the number of 
  213. colors to be 256 or less. 
  214.  
  215.  
  216. ΓòÉΓòÉΓòÉ 3.5. Two-Pass Quant ΓòÉΓòÉΓòÉ
  217.  
  218. Check this option to quantize the input image in two passes. This method takes 
  219. more memory and more time than single pass quantizing, but it can result in 
  220. much better image quality. 
  221.  
  222. This option is ignored if Quantize is not checked or if Grayscale is checked. 
  223.  
  224.  
  225. ΓòÉΓòÉΓòÉ 3.6. Dither ΓòÉΓòÉΓòÉ
  226.  
  227. Check this option to apply Floyd-Steinberg dithering when quantizing the input 
  228. image. On some images this may result in undesirable "grainyness" in the output 
  229. image. 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ 3.7. Cross-Block Smooth ΓòÉΓòÉΓòÉ
  233.  
  234. Check this option to perform cross-block smoothing on the output image. This 
  235. process is slow, memory intensive, and seems to only have positive results on 
  236. images that were compressed with very low quality settings. In fact, this 
  237. option may reduce the quality of standard quality images. 
  238.  
  239.  
  240. ΓòÉΓòÉΓòÉ 3.8. Grayscale ΓòÉΓòÉΓòÉ
  241.  
  242. Check this option to force the output image to grayscale regardless of the type 
  243. of the input image. 
  244.  
  245.  
  246. ΓòÉΓòÉΓòÉ 4. View Options Dialog ΓòÉΓòÉΓòÉ
  247.  
  248. The View Options dialog box presents all of the settings that are related to 
  249. viewing JPEG files. Select one of the following sections for information about 
  250. a specific setting. 
  251.  
  252. o Size Window to Picture 
  253. o Two-Pass Quant 
  254. o Dither 
  255. o Cross-Block Smooth 
  256. o Grayscale 
  257. o Max Memory 
  258.  
  259.  
  260. ΓòÉΓòÉΓòÉ 4.1. Size Window to Picture ΓòÉΓòÉΓòÉ
  261.  
  262. Check this option to optimally size the window to the size of the image being 
  263. viewed. This causes the window to be sized no larger than the screen if the 
  264. image is too big to fit. The window is also centered on the screen. If this 
  265. options is not checked, then the window will be restored to it's last size and 
  266. position. 
  267.  
  268.  
  269. ΓòÉΓòÉΓòÉ 4.2. Two-Pass Quant ΓòÉΓòÉΓòÉ
  270.  
  271. Check this option to quantize the input image in two passes. This method takes 
  272. more memory and more time than single pass quantizing, but it can result in 
  273. much better image quality. 
  274.  
  275. This option is ignored if Grayscale is checked. 
  276.  
  277.  
  278. ΓòÉΓòÉΓòÉ 4.3. Dither ΓòÉΓòÉΓòÉ
  279.  
  280. Check this option to apply Floyd-Steinberg dithering when quantizing the input 
  281. image. On some images this may result in undesirable "grainyness" in the output 
  282. image. 
  283.  
  284.  
  285. ΓòÉΓòÉΓòÉ 4.4. Cross-Block Smooth ΓòÉΓòÉΓòÉ
  286.  
  287. Check this option to perform cross-block smoothing on the output image. This 
  288. process is slow, memory intensive, and seems to only have positive results on 
  289. images that were compressed with very low quality settings. In fact, this 
  290. option may reduce the quality of standard quality images. 
  291.  
  292.  
  293. ΓòÉΓòÉΓòÉ 4.5. Grayscale ΓòÉΓòÉΓòÉ
  294.  
  295. Check this option to force the output image to grayscale regardless of the type 
  296. of the input image. Checking this option provides a way to quickly preview an 
  297. image as no slow quantizing process takes place. 
  298.  
  299.  
  300. ΓòÉΓòÉΓòÉ 4.6. Max Memory ΓòÉΓòÉΓòÉ
  301.  
  302. This entry field specifies the maximum amount of memory in megabytes to 
  303. allocate. If the amount of memory that needs to be allocated exceeds this 
  304. value, then temporary files will be created for the excess. Generally, this 
  305. value should be kept as high as possible. The process will become slower as the 
  306. temporary files become larger. 
  307.  
  308.  
  309. ΓòÉΓòÉΓòÉ 5. Compress Options Dialog ΓòÉΓòÉΓòÉ
  310.  
  311. The Compress Options dialog box presents all of the settings that are related 
  312. to compressing JPEG files. Select one of the following sections for information 
  313. about a specific setting. 
  314.  
  315. o Quality 
  316. o Restart 
  317. o Smooth 
  318. o Max Memory 
  319. o Grayscale 
  320. o Optimize 
  321. o Force Targa Input 
  322. o Add Comment 
  323.  
  324.  
  325. ΓòÉΓòÉΓòÉ 5.1. Quality ΓòÉΓòÉΓòÉ
  326.  
  327. This entry field specifies the quality of compression that is desired. The 
  328. default and recommend value is 75. This results in very good compression and 
  329. minimal loss in the compressed image. 
  330.  
  331. The quality setting lets you trade off compressed file size against quality of 
  332. the reconstructed image: the higher the quality setting, the larger the JPEG 
  333. file, and the closer the output image will be to the original input. Normally 
  334. you want to use the lowest quality setting (smallest file) that decompresses 
  335. into something visually indistinguishable from the original image. For this 
  336. purpose the quality setting should be between 50 and 95; the default of 75 is 
  337. often about right. If you see defects at -quality 75, then go up 5 or 10 counts 
  338. at a time until you are happy with the output image. (The optimal setting will 
  339. vary from one image to another.) 
  340.  
  341. A quality setting of 100 will generate a quantization table of all 1's, 
  342. eliminating loss in the quantization step (but there is still information loss 
  343. in subsampling, as well as roundoff error). This setting is mainly of interest 
  344. for experimental purposes. Quality values above about 95 are NOT recommended 
  345. for normal use; the compressed file size goes up dramatically for hardly any 
  346. gain in output image quality. 
  347.  
  348. In the other direction, quality values below 50 will produce very small files 
  349. of low image quality. Settings around 5 to 10 might be useful in preparing an 
  350. index of a large image library, for example. Try -quality 2 (or so) for some 
  351. amusing Cubist effects. (Note: quality values below about 25 generate 2-byte 
  352. quantization tables, which are considered optional in the JPEG standard. Some 
  353. commercial JPEG programs may be unable to decode the resulting file.) 
  354.  
  355.  
  356. ΓòÉΓòÉΓòÉ 5.2. Restart ΓòÉΓòÉΓòÉ
  357.  
  358. The restart option inserts extra markers that allow a JPEG decoder to 
  359. resynchronize after a transmission error. Without restart markers, any damage 
  360. to a compressed file will usually ruin the image from the point of the error to 
  361. the end of the image; with restart markers, the damage is usually confined to 
  362. the portion of the image up to the next restart marker. Of course, the restart 
  363. markers occupy extra space. A restart value of 1 is recommended by the 
  364. Independent JPEG Group for images that will be transmitted across unreliable 
  365. networks such as Usenet. 
  366.  
  367.  
  368. ΓòÉΓòÉΓòÉ 5.3. Smooth ΓòÉΓòÉΓòÉ
  369.  
  370. The smooth option filters the input to eliminate fine-scale noise. This is 
  371. often useful when converting GIF files to JPEG: a moderate smoothing factor of 
  372. 10 to 50 gets rid of dithering patterns in the input file, resulting in a 
  373. smaller JPEG file and a better-looking image. Too large a smoothing factor will 
  374. visibly blur the image, however. 
  375.  
  376.  
  377. ΓòÉΓòÉΓòÉ 5.4. Max Memory ΓòÉΓòÉΓòÉ
  378.  
  379. This entry field specifies the maximum amount of memory in megabytes to 
  380. allocate. If the amount of memory that needs to be allocated exceeds this 
  381. value, then temporary files will be created for the excess. Generally, this 
  382. value should be kept as high as possible. The process will become slower as the 
  383. temporary files become larger. 
  384.  
  385.  
  386. ΓòÉΓòÉΓòÉ 5.5. Grayscale ΓòÉΓòÉΓòÉ
  387.  
  388. Check this option to produce a grayscale JPEG file from a color input file. You 
  389. must check this option if the input file is a grayscale GIF because the 
  390. software can't distinguish a grayscale GIF from a color GIF. Checking this will 
  391. produce a JPEG file that is smaller and quicker to decompress. 
  392.  
  393.  
  394. ΓòÉΓòÉΓòÉ 5.6. Optimize ΓòÉΓòÉΓòÉ
  395.  
  396. Check this option to perform optimization of the entropy encoding parameters. 
  397. This usually makes the resulting JPEG file a little smaller, but it takes more 
  398. time and a lot more memory. This setting does not affect the image quality or 
  399. the decompression time of the JPEG file produced. 
  400.  
  401.  
  402. ΓòÉΓòÉΓòÉ 5.7. Force Targa Input ΓòÉΓòÉΓòÉ
  403.  
  404. Check this option to force the input files to be treated as Targa files. This 
  405. is useful when the Targa file has an "identification" field because that field 
  406. is not automatically recognized by the software. Most Targa files should not 
  407. need this setting. 
  408.  
  409.  
  410. ΓòÉΓòÉΓòÉ 5.8. Add Comment ΓòÉΓòÉΓòÉ
  411.  
  412. Check this option to cause Image Archiver to prompt you for a comment to be 
  413. inserted into any JPEG file that it is creating. 
  414.  
  415. This feature is only available in the registered version. 
  416.  
  417.  
  418. ΓòÉΓòÉΓòÉ 6. Viewing Window ΓòÉΓòÉΓòÉ
  419.  
  420. This window allows the image to be scrolled, scaled to the size of the window, 
  421. and zoomed in and out. The View menu option provides access to the 
  422. functionality available with the mouse. Keyboard accelerators are also 
  423. available. Select one of the following sections for more specific information. 
  424.  
  425. o View Menu and keyboard commands 
  426. o Zooming with the mouse. 
  427.  
  428.  
  429. ΓòÉΓòÉΓòÉ 6.1. View Menu and Keyboard Commands ΓòÉΓòÉΓòÉ
  430.  
  431. In the current OS/2 2.1 beta, there are some significant bugs in the Palette 
  432. Manager. First of all, any part of the image that is over-written with a menu 
  433. or a dialog box will not be redrawn with the correct colors on Trident or 
  434. ET4000 video cards. I believe that only the XGA palette manager works properly. 
  435. (I'm not too sure about that one.) The other problem is that the image will 
  436. only be properly rendered if it is drawn at it's actual size. This bug kind of 
  437. limits the use of zooming and scaling, but hopefully the bug will be fixed with 
  438. the release of 2.1 GA. 
  439.  
  440. Select one of the following selections for more specific information. 
  441.  
  442. o Zoom In (+) 
  443. o Zoom Out (-) 
  444. o Actual Size (=) 
  445. o Scale to Window (F8) 
  446. o Size to Image (F9) 
  447. o Refresh (F10) 
  448.  
  449.  
  450. ΓòÉΓòÉΓòÉ 6.1.1. Zoom In (+) ΓòÉΓòÉΓòÉ
  451.  
  452. Select this menu item or press the + key to zoom in on the image by another 
  453. 25%. The image starts out at 100% zoom. Repeatedly selecting this item will 
  454. zoom in on the image in 25% increments, first to 125, then to 150, then to 175, 
  455. etc. There is no zoom in limit. 
  456.  
  457. BETA  The image is reset to the top left corner each time this is pressed. 
  458.  
  459.  
  460. ΓòÉΓòÉΓòÉ 6.1.2. Zoom Out (-) ΓòÉΓòÉΓòÉ
  461.  
  462. Select this menu item or press the - key to zoom out of the image by another 
  463. 25%. The image starts out at 100% zoom. Repeatedly selecting this item will 
  464. zoom out from the image in 25% increments, first to 75, then to 50, then to 25. 
  465. 25 percent is the zoom out limit. 
  466.  
  467. BETA  The image is reset to the top left corner each time this is pressed. 
  468.  
  469.  
  470. ΓòÉΓòÉΓòÉ 6.1.3. Actual Size (=) ΓòÉΓòÉΓòÉ
  471.  
  472. Select this menu item to return the image to its actual size. This returns the 
  473. image to 100% zoom. 
  474.  
  475.  
  476. ΓòÉΓòÉΓòÉ 6.1.4. Scale to Window (F8) ΓòÉΓòÉΓòÉ
  477.  
  478. Select this menu item to scale the image so that it fits entirely with in the 
  479. window. The image's aspect ratio is kept, both the width and height of the 
  480. image is scale by the same factor. 
  481.  
  482.  
  483. ΓòÉΓòÉΓòÉ 6.1.5. Size to Image (F9) ΓòÉΓòÉΓòÉ
  484.  
  485. Select this menu item to size the window to fit as much of the picture within 
  486. it as it can. If the picture is larger than the maximum size of the window, 
  487. then the window is set to the largest size possible, still keeping all borders 
  488. on the screen. The window is not maximized. This can be set to happen 
  489. automatically with the Size Window to Picture option. 
  490.  
  491.  
  492. ΓòÉΓòÉΓòÉ 6.1.6. Refresh (F10) ΓòÉΓòÉΓòÉ
  493.  
  494. Select this menu item to refresh the image. This option is required because of 
  495. the few significant bugs in the 2.1 beta's Palette Manager. 
  496.  
  497.  
  498. ΓòÉΓòÉΓòÉ 6.2. Zooming with the mouse ΓòÉΓòÉΓòÉ
  499.  
  500. Image Archiver provides a very powerful method of zooming into an arbitrary 
  501. area of an image. Follow thses simple instructions to zoom in to any part of 
  502. the image to any detail level. 
  503.  
  504.  1. Move the mouse pointer to approximately the top left corner of the part of 
  505.     the image that you wish to zoom into. 
  506.  2. Press and hold down mouse button 1. 
  507.  3. Continue to hold down mouse button 1 and drag the mouse pointer to 
  508.     approxiamtely the bottom right of the area. A tracking rectangle will 
  509.     follow the pointer showing the area that will be zoomed into. 
  510.  4. Release mouse button 1 to see the selected area. 
  511.  
  512. This option only works when the image is being viewed in it's Actual Size. 
  513.  
  514. BETA  There are still a few bugs in this zooming system. I recommend selecting 
  515. Actual Size and Size to Image before attempting any arbitrary zoom operation 
  516. with the mouse. 
  517.  
  518.  
  519. ΓòÉΓòÉΓòÉ 7. Acknowledgements ΓòÉΓòÉΓòÉ
  520.  
  521. Image Archiver is based in part on the work of the Independent JPEG Group. This 
  522. work includes both code and documentation. 
  523.  
  524. I'd like to pass on my thanks to Tom Lane and the others of IJG on the work 
  525. they have done to provide very functional code to the rest of us in the 
  526. programming world. Good job people! 
  527.  
  528. I'd also like to thank the following people for their contributions to my 
  529. sanity: 
  530.  
  531. o Guy Scharf, president of Software Architects. 
  532.  
  533.   Thanks for the wonderful and very helpful articles on both container and 
  534.   slider controls. 
  535.  
  536. o Peter Nielsen, author of PMView (check it out, it's a great viewer). 
  537.  
  538.   Thanks for help with the Palette Manager and all it's wonderful little quirks 
  539.   in the OS/2 2.1 beta incarnation. 
  540.  
  541. o Everyone else on the Internet. 
  542.  
  543.   Thanks for all the answered questions, sample code, moral support, etc. Image 
  544.   Archiver wouldn't exist without you all. 
  545.  
  546. "The Graphics Interchange Format(c) is the Copyright property of CompuServe 
  547. Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated."